/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package e.z.blog.back.com;

import java.awt.image.BufferedImage;
import javax.servlet.http.HttpSession;

/**
 *
 * @author EnzoZhong 生成验证码和验证验证码接口
 */
public interface ComVerfiyCodeApi {

        /**
         * 
         * @param session
         * @return
         */
        BufferedImage create(HttpSession session);

     /**
      * 
      * @param session
      * @param answer
      * @return
      */
     Boolean verfiy(HttpSession session, String answer);
}
